<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../lib/vue.js"></script>
</head>
<body>
    <div id="box">
        <input type="text">
        {{ myMethod() }}
        <ul>
            <li v-for="data in dataList">
                {{data}}
            </li>
        </ul>
    </div>

    <script>
        const vm = new Vue({
            el: "#box",
            data: {
                dataList: [
                    "aaa", "bbb",
                    "ccc", "ddd",
                    "eee", "cea"
                ]
            },
            methods: {
                myMethod() {
                    console.log("hello")
                    return "fuck"
                }
            }
        })
    </script>
</body>
</html>